#pragma once

#include "irender/types.h"
#include "irender/writer.h"
#include <mswin/seq_name_factory.h>

namespace irender {

class seq_writer : public writer
{
public:
	seq_writer(string const & pattern, bool alpha, string const & format = string()); 
	virtual ~seq_writer() {}
	virtual seq_writer & add(byte_image const & img);
private:
	mswin::seq_name_factory name_factory_;
	bool alpha_;
	string format_;
};

} //namespace irender
